package com.cls.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 字典表枚举
 *
 * @author
 */
@AllArgsConstructor
@Getter
public enum DictEnum {
    /**
     * 有意向、无意向申请
     */
    CONFIGURE_INTENTION("有意向", "0", "0"),
    CONFIGURE_NOT_INTENTION("无意向", "1", "1"),

    CONCLUDE_TOPIC_LEVEL_CODE("结项课题级别", "conclude_topic_level_code", "1"),
    CONCLUDE_TOPIC_LEVEL_YX("优秀", "conclude_topic_level_yx", "1"),
    CONCLUDE_TOPIC_LEVEL_LH("良好", "conclude_topic_level_lh", "1"),
    CONCLUDE_TOPIC_LEVEL_HG("合格", "conclude_topic_level_hg", "1"),
    CONCLUDE_TOPIC_LEVEL_BHG("不合格", "conclude_topic_level_bhg", "1"),

    PERSON_TYPE("人员类型", "person_type", "1"),
    PERSON_TYPE_REGISTER("注册人员", "person_type_register", "1"),
    PERSON_TYPE_ADMIN("管理员", "person_type_admin", "1"),
    PERSON_TYPE_EXPERT("专家", "person_type_expert", "1"),

    UNIT_NAME("中国法学会", "", ""),
    NOTICE_TYPE("通知类型", "notice_type", ""),
    NOTICE_TYPE_KTZJ("课题征集", "notice_type_ktzj", ""),
    NOTICE_TYPE_KTZN("申报公告", "notice_type_ktzn", ""),
    NOTICE_TYPE_PTGG("普通公告", "notice_type_ptgg", ""),
    NOTICE_TYPE_LXGG("立项公告", "notice_type_lxgg", ""),
    NOTICE_TYPE_NLXGG("拟立项公告", "notice_type_nlxgg", ""),
    NOTICE_TYPE_JXGG("结项公告", "notice_type_jxgg", ""),
    NOTICE_TYPE_RESULT_JXGG("结项结果公告", "notice_type_jxjggg", ""),


    TOPIC_CLASSIFY("申请课题分类", "topic_classify", ""),
    ANNUAL("年度课题", "annual", ""),
    ENTRUST("委托课题", "entrust", ""),
    UNLIMITED("不限", "unlimited", "unlimited"),

    WTKTLB("委托课题分类", "WTKTLB", ""),
    WT("委托课题", "WT", ""),
    ZDWT("重点委托课题", "ZDWT", ""),
    ZDZX("重点专项课题", "ZDZX", ""),
    QYLT("区域论坛课题", "QYLT", ""),
    FZFZ("法治方阵课题", "FZFZ", ""),
    QT("其他", "QT", ""),

    MEMBER_OPERATION("组成员操作类型", "member_operation", "1"),
    MEMBER_ADD("组成员新增", "member_add", "2"),
    MEMBER_DEL("组成员删除", "member_del", "3"),
    MEMBER_UPDATE("组成员修改", "member_update", "4"),

    CHECK_INFO("委托课题信息审核", "check_info", "1"),
    INFO_NO("信息未审核", "info_no", "2"),
    INFO_WAIT("信息待审核", "info_wait", "3"),
    INFO_PASSED("信息审核通过", "info_passed", "4"),
    INFO_FAILED("信息未通过", "info_failed", "5"),
    // 单位变更审核
    CHECK_CHANGE("单位申请", "check_change", "1"),
    CHANGE_NO("单位变更未审核", "change_no", "2"),
    CHANGE_WAIT("单位变更待审核", "change_wait", "3"),
    CHANGE_PASSED("单位变更通过", "change_passed", "4"),
    CHANGE_FAILED("单位变更未通过", "change_failed", "5"),

    // 延期审核
    CHECK_DELAY("延期申请", "check_delay", "1"),
    DELAY_NO("延期未审核", "delay_no", "2"),
    DELAY_WAIT("延期待审核", "delay_wait", "3"),
    DELAY_PASSED("延期通过信息", "delay_passed", "4"),
    DELAY_FAILED("延期未通过", "delay_failed", "5"),

    SUBJECT_TYPE("学科分类", "subject_type", ""),
    POSITION("行政职务", "position", ""),
    TITLE("职称", "title", ""),
    //  成果形式
    ACHIEVEMENT_FORM("成果形式", "achievementForm", ""),
    LEVEL_TYPE("课题分类", "level_type", ""),

    //    性别
    SEX("性别", "sex", ""),
    //    民族
    NATION("民族", "nation", ""),
    //    研究类型
    RESEARCH("研究类型", "research", ""),
    //    政治面貌
    POLITICAL("政治面貌", "political", ""),
    //    外语语种
    LANGUAGE("外语语种", "language", ""),
    //    最终学位
    DEGREE("最终学位", "degree", ""),
    //    最终学位
    TUTOR("担任导师", "tutor", ""),

    //
    DISTRICT("京内与京外", "district", ""),


    //
    FEATURE("理论与实务", "feature", ""),

    //课题申报状态
    TOPIC_STATUS("课题申报状态", "topic_status", ""),
    NO_APPLY("未申报", "no_apply", "1"),
    PRE_APPLY("意向申报", "pre_apply", "2"),
    APPLY("已申报", "apply", "3"),
    CHECK_PASSED("资格审查通过", "check_passed", "4"),
    CHECK_FAILED("资格审查不通过", "check_failed", "5"),
    PRE_ITEM("拟立项", "pre_item", "6"),
    ITEM_NO_CHECK("拟立项未审查", "item_no_check", "7"),
    ITEM_CHECK_PASSED("拟立项审查通过", "item_check_passed", "8"),
    ITEM_CHECK_FAILED("拟立项审查不通过", "item_check_failed", "9"),
    ITEM_PASSED("立项通过", "item_passed", "10"),
    ITEM_FAILED("立项不通过", "item_failed", "11"),
    CONCLUDE_APPLY("结项已申报", "conclude_apply", "12"),
    CONCLUDE_ASSIGN("结项已分派", "conclude_assign", "13"),
    CONCLUDE_PASSED("结项通过", "conclude_passed", "14"),
    CONCLUDE_FAILED("结项不通过", "conclude_failed", "15"),
    CHECK_PASSED_SUBJECT("学科分类完成", "check_passed_subject", "16"),
    CHECK_PASSED_EXPERT("专家分配完成", "check_passed_expert", "17"),
    CHECK_PASSED_REVIEW("已评审", "check_passed_review", "18"),
    ITEM_CANCEL("取消立项", "item_cancel", "19"),

    TOPIC_PLAN_STATUS("课题计划状态", "topic_plan_status", ""),
    PLAN_CREATE("创建", "create", "0"),
    PLAN_CHECK("资格审查完成", "check", "1"),
    PLAN_SUBJECT("学科分类已完成", "subject", "2"),
    PLAN_EXPERT("分配专家已完成", "expert", "3"),
    PLAN_REVIEW("专家评审完成", "review", "4"),
    PLAN_PRE_ITEM("拟立项完成", "preItem", "5"),
    PLAN_ITEM("立项完成", "item", "6"),
    PLAN_ASSIGN("结项已分派", "assign", "7"),
    PLAN_CONCLUDE_FINISH("结项完成", "plan_conclude_finish", "8"),
    PLAN_CONCLUDE_FAILED("结项失败", "plan_conclude_failed", "9"),

    ZJLX("证件类型", "zjlx", ""),
    SFZ("身份证", "zjlx_sfz", ""),
    HZ("护照", "zjlx_hz", ""),
    JGZ("军官证", "zjlx_jgz", ""),
    GATTXZ("港澳台通行证", "zjlx_gattxz", ""),
    qtzj("其他", "zjlx_qtzj", ""),


    TOPIC_LEVEL_TYPE("课题级别", "topic_level_type", "0"),
    LEVEL_ZDIANKT("重大课题", "level_zdakt", "A"),
    LEVEL_ZDAKT("重点课题", "level_zdiankt", "B"),
    LEVEL_YBKT("一般课题", "level_ybkt", "C"),
    LEVEL_QNDY("青年调研项目", "level_qndy", "Y"),
    LEVEL_JCYJZDJL("基础研究重点激励项目", "level_jcyjzdjl", "J"),
    LEVEL_XBFCXM("西部扶持项目", "level_xbfcxm", "X"),
    LEVEL_ZXKT("自选课题", "level_zxkt", "D"),

    //     不限 一级
    LEVEL_TYPE_UNLIMITED("不限", "level_type_unlimited", "level_type_unlimited"),
    //    不限 二级
    LEVEL_UNLIMITED("不限", "level_unlimited", "unlimited"),

    TEMPLATE_TYPE_CODE("模板类型", "template_type_code", "0"),

    PASSED("已通过", "passed", "0"),
    NOT_PASS("未通过", "not_pass", "0"),

    BUSINESS_NOT_PRE_APPLY("无意向流程", "1", "0"),
    BUSINESS_PRE_APPLY("有意向流程", "0", "0"),

    ROLE_MANAGE("管理员", "role_manager", "1"),
    ROLE_DECLARE("申报人", "role_declare", "2"),
    ROLE_EXPERT("专家", "role_expert", "3"),


    PLAN_NO("委托计划编号", "plan_no", "1"),

    UPDATE_PHONE("修改密码", "update_phone", "SMS_207220002"),
    REPORT_TOPIC("举报课题", "report_topic", "SMS_207345003"),
    REGISTER_USER("注册用户", "register_user", "SMS_207220004"),
    INVITE_REVIEW("邀请评审", "invite_review", "SMS_207175820"),

    TEMPLATE_INTENTION("课题申请意向登记表", "IntentionForm", "1"),
    TEMPLATE_EXPERT_REVIEW("专家评审统计表", "ExpertReview", "2"),
    TEMPLATE_CONCLUDE_RESULT("结项鉴定结果表", "ConcludeResult", "3"),
    TEMPLATE_EXPERT_LIST("专家评审名单表", "ExpertList", "4"),
    TEMPLATE_TOPIC_INFO("选题申报情况统计表", "TopicInfo", "5"),
    TEMPLATE_ENTRUST_TOPIC("结项课题统计表", "EntrustTopic", "6"),

    PERSONNEL_AREA("人事关系所在地","personnel_area","1"),

    OPERATOR_TYPE("操作类型", "operator_type", "1"),
    OPERATOR_CHECK("资格审查", "operator_check", "1"),
    OPERATOR_PRE_ITEM_CHECK("拟立项审核", "operator_pre_item_check", "2"),
    OPERATOR_CANCEL_ITEM("取消立项", "operator_cancel_item", "3"),
    OPERATOR_APPLY("提交课题申报", "operator_apply", "4");
    private final String name;
    private final String code;
    private final String value;

}
